package com.wlc.dao;

import java.util.List;

/**
 * @author 王立朝
 * @description
 * @date 2021-11-12 23:32:06
 */
public class UserDao {
    private String name;
    private List<String> list;

    public List<String> getList() {
        return list;
    }

    public void setList(List<String> list) {
        this.list = list;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void test(){
        System.out.println("hello ServiceDao..."+ name);
    }

    public UserDao(String name, List<String> list) {
        this.name = "99999";
        this.list = list;
    }

    public UserDao() {
    }

    @Override
    public String toString() {
        return "UserDao{" +
                "name='" + name + '\'' +
                ", list=" + list +
                '}';
    }
}
